package com.xuecheng.content.feignclient;

import com.xuecheng.base.model.PageParams;
import com.xuecheng.content.config.MultipartSupportConfig;
import com.xuecheng.search.dto.SearchCourseParamDto;
import com.xuecheng.search.dto.SearchPageResultDto;
import com.xuecheng.search.po.CourseIndex;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

@FeignClient(value = "search",configuration = MultipartSupportConfig.class,fallbackFactory = SearchServiceClientFallbackFactory.class)
public interface SerachServiceClient {

    @PostMapping("/search/index/course")
    public Boolean add(@RequestBody CourseIndex courseIndex);



}
